﻿function btnSearch_Click(p_PageIndex) {
    var sORDER = '';
    sORDER = '';
    //頁次
    var m_PageIndex = getPageIndex(p_PageIndex);
    //alert($("#MainContent_TabContainer2_TabPanel5_lblDetail_NO").html());
    //查詢條件 對應後端查詢條件
    var StrWhere = { CORRECT_NO: $("##MainContent_lblCORRECTION_NO").html() };
    $("#DocumentPageControl").attr("GridWidth", "10%,10%,10%,10%,10%,20%,10%,20%");
    $("#DocumentPageControl").attr("textalign", "C,C,C,C,C,C,C,C");
    $("#DocumentPageControl").attr("HideColumn", "");
    //組Grid 公用Function 後端網頁名稱, 查詢FUNCTION名稱, 頁次, 一頁筆數, 排序條件, 查詢條件, 目標 DIV
    gdb_DataBind("krj_tracking_detail", "GetCorrection", m_PageIndex, "10", sORDER, StrWhere, "Document");

}